package org.boot.ssm.wxshop.service;

import org.boot.ssm.wxshop.common.BaseService;
import org.boot.ssm.wxshop.domain.News;

import java.util.List;


/**
 * @program: wxshop
 * @description: 新闻服务层接口
 * @author: Parasomnia
 * @create: 2018-03-16 14:06
 **/

public interface NewsService extends BaseService<News>{
    /**
     * 批量删除
     * @param ids
     */
    void updateDeleteMany(List<Integer> ids);

    /**
     * 添加或修改
     * @param news
     */
    void addOrEdit(News news);

}
